<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .all_gu{
        height: 400px;
        width: 400px;
        margin: 300px auto;
        /* background: red; */
    }
    .gujianteng{
        height: 400px;
        width: 400px;
    }
    .pointer_events{
        height:100%;
        width: 100%;
        position: absolute;
        background: rgb(16, 7, 34);
        opacity: 0.3;
        top: 0px;
        left: 0px;
        /* pointer-events: none; */

    }
</style>
<body>

<!-- 需求:实现蒙成下面文字得选择,比如复制文字 -->
    <!-- pointer-events -->
    <!-- pointer-events更多属性学习见下面链接 -->
    <!-- https://developer.mozilla.org/zh-CN/docs/Web/CSS/pointer-events -->
    <div class="all_gu">
        <div class="gujianteng">
            <div>君融天湖电视柜个度看到个</div>
            <div>君融天湖电视柜个度看到个</div>
            <div>君融天湖电视柜个度看到个</div>
            <div>君融天湖电视柜个度看到个</div>
            <div>君融天湖电视柜个度看到个</div>
            <div>君融天湖电视柜个度看到个</div>
            <div>君融天湖电视柜个度看到个</div>
        </div>
        <div class="pointer_events"></div>

    </div>
    
</body>
</html>